<?php
/*--------------------------
	file:	base.class
	intro:	核心基类
--------------------------*/
class Helper_Debuger{
	
	function getMicrotime(){
		list ( $usec, $sec ) = explode ( " ", microtime () );
		return (( float ) $usec + ( float ) $sec);
	}
	
	function getRuntime(){
		global $time_start;
		return $this->getMinustime($time_start);
	}
	
	function getMinustime($start){
		list ( $usec, $sec ) = explode ( " ", microtime () );
		return (( float ) $usec + ( float ) $sec) - $start;
	}
}

?>